package com.blockchainenergy.info.node;

import com.blockchainenergy.common.CarbonTools;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class NodeDialPlate {
    private Integer type;
    private Double value;

    public NodeDialPlate(Integer i) throws Exception {
        this.type = CarbonTools.erank(i);
        this.value = CarbonTools.currente(i);
    }
}
